<%--
  Created by IntelliJ IDEA.
  User: l
  Date: 2022/8/6
  Time: 09:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
<head>
    <title>首页</title>
    <style>
        ul{
            list-style: none;
        }
    </style>
</head>
<body>
<p>用户: ${currentUser.uname}</p>
<p>当前在线人数 ${fn:length(currentUserList)}</p>
<p><a href="LoginOut">登出</a></p>
<ul>
    <li><a href="Goods?opr=getAll">查看好物列表</a></li>
    <li><a href="addGoods.jsp">上架新的好物</a></li>
    <li><a href="Goods?opr=getSome&uid=${currentUser.uid}">查看我的在售好物</a></li>
    <li><a href="editUser.jsp">账户操作</a></li>
</ul>
</body>
</html>
